package lp.xian.equipment.domain;


import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 供应商分类
 */
@Data
public class Classify extends BaseEntity {
    private static  final long serialversionUID=1l;
    /*主键递增*/
    private Integer classifyId;
    /*供应商分类名称*/
    @Excel(name = "供应商分类名称")
    private String classifyName;
    /*供应商分类描述*/
    @Excel(name = "供应商分类描述")
    private String description;
    /*排序*/
    @Excel(name = "排序")
    private Integer sort;
    private String remark;
    private String createBy;
    private Date CreateTime;
    private String updateBy;
    private Date updateTime;

    @Override
    public String toString(){
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("classifyId",getClassifyId())
                .append("classifyName",getClassifyName())
                .append("description",getDescription())
                .append("sort",getSort())
                .append("remark",getRemark())
                .append("createBy",getCreateBy())
                .append("CreateTime",getCreateTime())
                .append("updateBy",getUpdateBy())
                .append("updateTime",getUpdateTime())
                .toString();
    }

}
